package com.yunqiao.service.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 区域  代理费    定金
 *
 * @author Crocutax
 * @email wangxw725@163.com
 * @date 2019-03-08 17:44:10
 */
@TableName("tb_district_price")
@Data
@ApiModel(value = "区域  代理费    定金对象")
public class DistrictPriceEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId
    @ApiModelProperty(value = "")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 省价格
     */
    @ApiModelProperty(value = "省价格")
    private BigDecimal provincePrice;
    /**
     * 市价格
     */
    @ApiModelProperty(value = "市价格")
    private BigDecimal cityPrice;
    /**
     * 区价格
     */
    @ApiModelProperty(value = "区价格")
    private BigDecimal areaPrice;

    /**
     * 区价格
     */
    @ApiModelProperty(value = "镇县价格")
    private BigDecimal townPrice;
    /**
     * 定金
     */
    @ApiModelProperty(value = "定金")
    private BigDecimal earnest;
    /**
     * 系统抽成
     */
    @ApiModelProperty(value = "系统抽成")
    private BigDecimal sysPrice;
    /**
     * 代理商抽成
     */
    @ApiModelProperty(value = "代理商抽成")
    private BigDecimal partnerPrice;

}
